<title>IVA: <? echo $Modificar;?></title>
<link href="estilacho.css" rel="stylesheet" type="text/css">
<style type="text/css">
    <!--
    .Estilo1 {color: #000000}
    a:link {
        color: #993300;
        text-decoration: none;
    }
    a:visited {
        text-decoration: none;
        color: #993300;
    }
    a:hover {
        text-decoration: none;
    }
    a:active {
        text-decoration: none;
        color: #FF0000;
    }
    .Estilo4 {border-width: 1}
    .Estilo5 {font-size: 10px}
    .Estilo7 {color: #666666}
    -->
</style>
<BODY>
    <?

    extract($_POST);
    extract($_GET);
    include 'conexion.php';

    $resultado=mysql_query("SELECT * FROM iva WHERE cod_iva='".$Modificar."'",$conexion);    

    $registro = mysql_fetch_array($resultado);
    ?>
    <form name="form1" method="post" action="modificar_iva.php">      
        <table border="0" align="center" class="tablainstitucion">
            <? echo "<input type=hidden name='Modificar' value='$Modificar'>" ;?>
            <tr bordercolor="#FFFFFF" bgcolor="#000000">
                <th colspan="4" align="center" valign="middle" bgcolor="#FFFFFF">MODIFICAR Y  CONSULTAR IVA</th>
            </tr>
            <tr bordercolor="#FFFFFF" bgcolor="#000000">
                <td align="center" valign="middle" bgcolor="#FFFFFF">N. de Orden de Iva</td>
                <td align="center" valign="middle" bgcolor="#FFFFFF">Fecha</td>
                <td align="center" valign="middle" bgcolor="#FFFFFF">Empresa</td>
            </tr>
            <tr>
                <td align="center" valign="middle"> <input name="cod_iv" type="text" class="entrada" value="<? echo $registro[1]; ?>" size="20" disabled>
                    <? echo "<input type=hidden name='cod_iv' value='$registro[1]'>";?></td>
                <td align="center" valign="middle"><input name="fec" type="text" class="entrada" value="<? echo $registro[2]; ?>" size="40"></td>
                <td align="center" valign="middle"><input name="nombre2" type="text" class="entrada" value="<? echo $registro[7]; ?>" size="20"></td>
            </tr>


            <tr bordercolor="#FFFFFF" bgcolor="#000000">
                <td align="center" valign="middle" bgcolor="#FFFFFF">Periodo</td>
                <td align="center" valign="middle" bgcolor="#FFFFFF">Anulado</td>
              
            </tr>
            <tr>
                <td align="center" valign="middle"><input name="periodo" type="text" class="entrada" value="<? echo $registro[5]; ?>" size="20"></td>
                <td align="center" valign="middle"><input name="anulado" type="text" class="entrada" value="<? echo $registro[11]; ?>" size="20"></td>
           </tr>

            </table>
        <div align="center">
            <input name="iva" type="submit" class="boton" id="iva" value="Modificar Iva">
        </div>
    </form>
    <div align="center">
        <a href="consulta_iva_gen1.php">Regresar</a>  </div>
</BODY>
</HTML>

